package app.fugema.shop.main.order.model;

import java.util.List;

public class AddressResult
{


    /**
     * success : true
     * msg :
     * code : 0
     * ShippingAddress : {"CanDeliveAddressList":[{"Id":34,"UserId":0,"RegionId":26122,"ShipTo":"小贾","Address":"王寨中心学校-小明珠幼儿园","AddressDetail":"56号","Phone":"13125043082","IsDefault":true,"IsQuick":false,"Longitude":112.125,"Latitude":32.054,"RegionFullName":"湖北省 襄阳市 樊城区 王寨街道","RegionIdPath":"1695,1740,1742,26122","NeedUpdate":false,"IsNeedUpdate":0,"CanDelive":false,"shopBranchId":0,"ModifiedColumns":["Id","ShipTo","Phone","Address","RegionId","IsDefault","Latitude","Longitude","AddressDetail"],"EnableLazyLoad":true,"IgnoreReference":false}],"CanNotDeliveAddressList":[]}
     * IsOpenStore : 1
     */

    private boolean success;
    private String msg;
    private int code;
    private ShippingAddressBean ShippingAddress;
    private int IsOpenStore;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ShippingAddressBean getShippingAddress() {
        return ShippingAddress;
    }

    public void setShippingAddress(ShippingAddressBean ShippingAddress) {
        this.ShippingAddress = ShippingAddress;
    }

    public int getIsOpenStore() {
        return IsOpenStore;
    }

    public void setIsOpenStore(int IsOpenStore) {
        this.IsOpenStore = IsOpenStore;
    }

    public static class ShippingAddressBean
    {
        private List<AddressBean> CanDeliveAddressList;
        private List<AddressBean> CanNotDeliveAddressList;

        public List<AddressBean> getCanDeliveAddressList() {
            return CanDeliveAddressList;
        }

        public void setCanDeliveAddressList(List<AddressBean> CanDeliveAddressList) {
            this.CanDeliveAddressList = CanDeliveAddressList;
        }

        public List<AddressBean> getCanNotDeliveAddressList() {
            return CanNotDeliveAddressList;
        }

        public void setCanNotDeliveAddressList(List<AddressBean> CanNotDeliveAddressList) {
            this.CanNotDeliveAddressList = CanNotDeliveAddressList;
        }


    }


    public static class AddressBean
    {
        /**
         * Id : 34
         * UserId : 0
         * RegionId : 26122
         * ShipTo : 小贾
         * Address : 王寨中心学校-小明珠幼儿园
         * AddressDetail : 56号
         * Phone : 13125043082
         * IsDefault : true
         * IsQuick : false
         * Longitude : 112.125
         * Latitude : 32.054
         * RegionFullName : 湖北省 襄阳市 樊城区 王寨街道
         * RegionIdPath : 1695,1740,1742,26122
         * NeedUpdate : false
         * IsNeedUpdate : 0
         * CanDelive : false
         * shopBranchId : 0
         * ModifiedColumns : ["Id","ShipTo","Phone","Address","RegionId","IsDefault","Latitude","Longitude","AddressDetail"]
         * EnableLazyLoad : true
         * IgnoreReference : false
         */

        private int Id;
        private int UserId;
        private int RegionId;
        private String ShipTo;
        private String Address;
        private String AddressDetail;
        private String Phone;
        private boolean IsDefault;
        private boolean IsQuick;
        private double Longitude;
        private double Latitude;
        private String RegionFullName;
        private String RegionIdPath;
        private boolean NeedUpdate;
        private int IsNeedUpdate;
        private boolean CanDelive;
        private int shopBranchId;
        private boolean EnableLazyLoad;
        private boolean IgnoreReference;
        private List<String> ModifiedColumns;

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public int getUserId() {
            return UserId;
        }

        public void setUserId(int UserId) {
            this.UserId = UserId;
        }

        public int getRegionId() {
            return RegionId;
        }

        public void setRegionId(int RegionId) {
            this.RegionId = RegionId;
        }

        public String getShipTo() {
            return ShipTo;
        }

        public void setShipTo(String ShipTo) {
            this.ShipTo = ShipTo;
        }

        public String getAddress() {
            return Address;
        }

        public void setAddress(String Address) {
            this.Address = Address;
        }

        public String getAddressDetail() {
            return AddressDetail;
        }

        public void setAddressDetail(String AddressDetail) {
            this.AddressDetail = AddressDetail;
        }

        public String getPhone() {
            return Phone;
        }

        public void setPhone(String Phone) {
            this.Phone = Phone;
        }

        public boolean isIsDefault() {
            return IsDefault;
        }

        public void setIsDefault(boolean IsDefault) {
            this.IsDefault = IsDefault;
        }

        public boolean isIsQuick() {
            return IsQuick;
        }

        public void setIsQuick(boolean IsQuick) {
            this.IsQuick = IsQuick;
        }

        public double getLongitude() {
            return Longitude;
        }

        public void setLongitude(double Longitude) {
            this.Longitude = Longitude;
        }

        public double getLatitude() {
            return Latitude;
        }

        public void setLatitude(double Latitude) {
            this.Latitude = Latitude;
        }

        public String getRegionFullName() {
            return RegionFullName;
        }

        public void setRegionFullName(String RegionFullName) {
            this.RegionFullName = RegionFullName;
        }

        public String getRegionIdPath() {
            return RegionIdPath;
        }

        public void setRegionIdPath(String RegionIdPath) {
            this.RegionIdPath = RegionIdPath;
        }

        public boolean isNeedUpdate() {
            return NeedUpdate;
        }

        public void setNeedUpdate(boolean NeedUpdate) {
            this.NeedUpdate = NeedUpdate;
        }

        public int getIsNeedUpdate() {
            return IsNeedUpdate;
        }

        public void setIsNeedUpdate(int IsNeedUpdate) {
            this.IsNeedUpdate = IsNeedUpdate;
        }

        public boolean isCanDelive() {
            return CanDelive;
        }

        public void setCanDelive(boolean CanDelive) {
            this.CanDelive = CanDelive;
        }

        public int getShopBranchId() {
            return shopBranchId;
        }

        public void setShopBranchId(int shopBranchId) {
            this.shopBranchId = shopBranchId;
        }

        public boolean isEnableLazyLoad() {
            return EnableLazyLoad;
        }

        public void setEnableLazyLoad(boolean EnableLazyLoad) {
            this.EnableLazyLoad = EnableLazyLoad;
        }

        public boolean isIgnoreReference() {
            return IgnoreReference;
        }

        public void setIgnoreReference(boolean IgnoreReference) {
            this.IgnoreReference = IgnoreReference;
        }

        public List<String> getModifiedColumns() {
            return ModifiedColumns;
        }

        public void setModifiedColumns(List<String> ModifiedColumns) {
            this.ModifiedColumns = ModifiedColumns;
        }
    }


}
